package org.jeecg.modules.product.riskUnit.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.product.riskUnit.entity.TbBaseRiskUnit;
import org.jeecg.modules.product.riskUnit.mapper.TbBaseRiskUnitMapper;
import org.jeecg.modules.product.riskUnit.service.ITbBaseRiskUnitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 风险分析单元
 * @Author: jeecg-boot
 * @Date:   2024-04-16
 * @Version: V1.0
 */
@Service
public class TbBaseRiskUnitServiceImpl extends ServiceImpl<TbBaseRiskUnitMapper, TbBaseRiskUnit> implements ITbBaseRiskUnitService {
	
	@Autowired
	private TbBaseRiskUnitMapper tbBaseRiskUnitMapper;
	
	@Override
	public List<TbBaseRiskUnit> selectByMainId(String mainId) {
		return tbBaseRiskUnitMapper.selectByMainId(mainId);
	}
}
